翻訳と辞書
Words near each other
・ Web.com Tour Finals
・ Web.config
・ Web.framework
・ Web18
・ Web2go
・ WEB2GRID
・ Web log analysis software
・ Web Long House and Motel
・ Web Map country support
・ Web Map Service
・ Web Map Tile Service
・ Web mapping
・ Web media makers
・ Web Medica Acreditada
・ Web Mercator
Web Messaging
・ Web mining
・ Web modeling
・ Web mortem
・ Web navigation
・ Web Networks
・ Web notes
・ Web of Angels
・ Web of Danger
・ Web of Deception
・ Web of Dreams
・ Web of Evil
・ Web of Life (TV series)
・ Web of Love
・ Web of Night


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Web Messaging : ウィキペディア英語版
Web Messaging

Web Messaging or cross-document messaging, is an API introduced in the WHATWG HTML5 draft specification, allowing documents to communicate with one another across different origins, or source domains.〔 Prior to HTML5, web browsers disallowed cross-site scripting, to protect against security attacks. This practice barred communication between non-hostile pages as well, making document interaction of any kind difficult.〔〔 Cross-document messaging allows scripts to interact across these boundaries, while providing a rudimentary level of security.
==Requirements and attributes==
Using the Messaging API's postMessage method, plain text messages can be sent from one domain to another.〔 This requires that the author first obtain the Window object of the receiving document. As a result, messages can be posted to the following:〔
* other frames or iframes within the sender document's window
* windows the sender document explicitly opens through JavaScript calls
* the parent window of the sender document
* the window which opened the sender document
The message event being received has the following attributes:
* data - The data, or actual content, of the incoming message.
* origin - The origin of the sender document. This typically includes the scheme, hostname and port. It does not include the path or fragment identifier.〔
* source - the WindowProxy of where the document came from (the source window).
postMessage is not a blocking call; messages are processed asynchronously〔http://www.w3.org/TR/2010/WD-webmessaging-20101118/#web-messaging〕.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Web Messaging」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.